package com.xumingxun.aibox.domain.var;

import com.xumingxun.aibox.context.Context;
import lombok.Data;

@Data
public class Var {

    public String nodeName;

    public String label;

    public String expression;

    public Object value;

    public Var(String nodeName,String expression,String label){
        this.nodeName=nodeName;
        this.expression=expression;
        this.label=label;
    }
    public Object getValue(Context context){

        return context;
    }

    public void setValue(Object value){
        this.value=value;
    }
}
